package org.alex.spring.core.resolver;

import java.io.IOException;
import java.io.InputStream;

/**
 * InputStream流回调函数式接口
 */
@FunctionalInterface
public interface InputStreamCallback <T> {
    T doWithInputStream(InputStream stream) throws IOException;
}
